Skip to content

[bugfix] Fix squeue backend crash when job is pending#3690

Merged
vkarak merged 1 commit into
reframe-hpc:masterfrom
vkarak:bugfix/squeue-crash
Jun 25, 2026
Merged

[bugfix] Fix squeue backend crash when job is pending#3690
vkarak merged 1 commit into
reframe-hpc:masterfrom
vkarak:bugfix/squeue-crash

Conversation

@vkarak

@vkarak vkarak commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

Closes #3689.

This was a follow up of #3642 and #3663. The problem was that the slurm and squeue backends filled in the pending_reasons in a different way. Now this is fixed to also accommodate for job arrays as it was in the original design.

Signed-off-by: Vasileios Karakasis <vkarak@gmail.com>
@codecov

codecov Bot commented Jun 24, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 50.00000% with 5 lines in your changes missing coverage. Please review.
✅ Project coverage is 91.90%. Comparing base (69ecde8) to head (5b57829).

Files with missing lines Patch % Lines
reframe/core/schedulers/slurm.py 50.00% 5 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##           master    #3690   +/-   ##
=======================================
  Coverage   91.90%   91.90%           
=======================================
  Files          62       62           
  Lines       13779    13782    +3     
=======================================
+ Hits        12663    12667    +4     
+ Misses       1116     1115    -1     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@victorusu victorusu left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@github-project-automation github-project-automation Bot moved this from Todo to In Progress in ReFrame Backlog Jun 25, 2026
@vkarak vkarak merged commit 32d8103 into reframe-hpc:master Jun 25, 2026
32 of 33 checks passed
@github-project-automation github-project-automation Bot moved this from In Progress to Done in ReFrame Backlog Jun 25, 2026
@vkarak vkarak deleted the bugfix/squeue-crash branch June 25, 2026 17:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

squeue backend crashes in _cancel_if_blocked if submitted job is pending for some time

2 participants